import request from "@/utils/request";

//POST /api/approve/list
export function approve_list(query) {
  return request({
    url: "/api/approve/list",
    method: "post",
    data: query
  });
}

//POST / api / approve / deleteAll 
export function approve_deleteAll(query) {
  return request({
    url: "/api/approve/deleteAll",
    method: "post",
    data: query
  });
}
//POST /api/approve/delete  删除
export function approve_delete(query) {
  return request({
    url: "/api/approve/delete",
    method: "post",
    data: query
  });
}
///api/approve/findById  详情
export function approve_findById(query) {
  return request({
    url: "/api/approve/findById",
    method: "post",
    data: query
  });
}
//POST / api / approve / edit
export function approve_edit(query) {
  return request({
    url: "/api/approve/edit",
    method: "post",
    data: query
  });
}
//POST /api/approve/save
export function approve_save(query) {
  return request({
    url: "/api/approve/save",
    method: "post",
    data: query
  });
}